# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qtmpris
pkgver=1.0.6
pkgrel=1
pkgdesc="Qt and QML MPRIS interface and adaptor"
url="https://github.com/sailfishos/qtmpris"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/qtmpris/archive/$pkgver/qtmpris-$pkgver.tar.gz"
options="!check" # No suitable tests

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="
191c0fd6e15eec27249568280930c8023779b9cb2b6e48e1ff3674e8f7c2287d3efb6f346508c3912f416b1ee4b40acbcca2fa11fdf8c14e8219e1d53ae5949d  qtmpris-1.0.6.tar.gz
"
